﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Inicio.aspx.cs" Inherits="ProyectoLab4.Inicio" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        .style3
        {
            width: 578px;
        }
        .style4
        {
            width: 82px;
        }
        .style5
        {
            width: 578px;
            height: 30px;
        }
        .style6
        {
            width: 82px;
            height: 30px;
        }
        .style7
        {
            height: 30px;
        }

        .style8
        {
            width: 215px;
        }
        .style9
        {
            height: 30px;
            width: 215px;
        }
        .style10
        {
            width: 230px;
        }
        .style11
        {
            height: 30px;
            width: 230px;
        }
        .style12
        {
            width: 205px;
        }

    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <table class="style1" bgcolor="#0072C6">
            <tr>
                <td class="style3">
                    &nbsp;</td>
                <td class="style4">
                    <asp:Label ID="lblUsuario" runat="server" Font-Bold="True" Text="Usuario:" 
                        ForeColor="White"></asp:Label>
                </td>
                <td class="style8">
                    <asp:TextBox ID="txtUsuario" runat="server" Width="170px" MaxLength="50"></asp:TextBox>
                </td>
                <td class="style4">
                    <asp:HyperLink ID="hpkRegistrarse" runat="server" NavigateUrl="~/Registro.aspx" 
                        ForeColor="White">Registrarse</asp:HyperLink>
                </td>
                <td class="style12">
                    <asp:HyperLink ID="hpkBajaUsuario" runat="server" 
                        NavigateUrl="~/BajaUsuario.aspx" ForeColor="White">Darse de baja</asp:HyperLink>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style3">
                    &nbsp;</td>
                <td class="style4">
                    <asp:Label ID="lblContraseña" runat="server" Font-Bold="True" 
                        Text="Contraseña:" ForeColor="White"></asp:Label>
                </td>
                <td class="style8">
                    <asp:TextBox ID="txtContraseña" runat="server" Width="170px" MaxLength="20" 
                        TextMode="Password"></asp:TextBox>
                </td>
                <td class="style10" colspan="2">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style5">
                </td>
                <td class="style6">
                    &nbsp;</td>
                <td class="style9">
                    <asp:Button ID="btnIniciarSesion" runat="server" Text="Iniciar Sesion" 
                        Font-Bold="True" onclick="btnIniciarSesion_Click" BackColor="#0099CC" 
                        BorderColor="Red" ForeColor="White" />
                </td>
                <td class="style11" colspan="2">
                    <asp:Label ID="lblErrorIngreso" runat="server" Visible="False" 
                        ForeColor="Red">Los datos ingresados no son válidos!</asp:Label>
                </td>
                <td class="style7">
                    &nbsp;</td>
            </tr>
            </table>
    
    </div>
    </form>
</body>
</html>
